package com.example.chapter10;

public class Demo6 {

    public static void main(String[] args) {
//        record Student(String name, int age) {}
//        Student student = new Student("Alice", 20);
//        System.out.println("Name: " + student.name());
//        System.out.println("Age: " + student.age());
//        System.out.println("Student: " + student);
    }
}
